/* 自定义样式 */
body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card {
    border: none;
    border-radius: 15px;
}

.card-header {
    border-radius: 15px 15px 0 0 !important;
    padding: 1.5rem;
}

.card-body {
    padding: 2rem;
}

/* 上传区域样式 */
.upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #fafafa;
}

.upload-area:hover {
    border-color: #0d6efd;
    background-color: #f0f8ff;
}

.upload-area.dragover {
    border-color: #0d6efd;
    background-color: #e3f2fd;
    transform: scale(1.02);
}

.upload-icon {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.upload-area:hover .upload-icon {
    color: #0d6efd;
}

/* 信息卡片样式 */
.info-card {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #0d6efd;
}

/* 时间控制样式 */
.time-controls {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.form-range {
    margin-bottom: 0.5rem;
}

.time-input {
    max-width: 120px;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.time-display {
    text-align: center;
    margin-top: 1rem;
}

/* 按钮样式 */
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 10px;
}

/* 进度条样式 */
.progress {
    height: 8px;
    border-radius: 10px;
}

.progress-bar {
    border-radius: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .upload-area {
        padding: 2rem 1rem;
    }
    
    .time-controls {
        padding: 1rem;
    }
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Toast 样式 */
.toast {
    min-width: 300px;
}

/* 隐藏滚动条但保持功能 */
.form-range::-webkit-slider-thumb {
    background: #0d6efd;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.form-range::-webkit-slider-track {
    background: #dee2e6;
    border-radius: 5px;
}

.form-range:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}